package com.boot.product.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @TableName product
 */
@TableName(value ="product")
@Data
public class Product {
    @TableId(type = IdType.AUTO)

    private Long id;

    private Integer type;

    private String name;

    private String description;

    private BigDecimal price;

    private Integer status;
}